//
//  ReadFile.h
//  MyGameSetting
//
//  Created by Hunk on 10-5-7.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface ReadFile : NSObject 
{
	NSData* readData;
	int m_nRange;
}

// Open file before read it's data
-(BOOL)OpenFile:(NSString*)filePath;

// Close File
-(void)CloseFile;

// Read int data to (int *)buf from file
-(void)ReadInt:(int*)buf;

// Read float data
-(void)ReadFloat:(float*)buf;

// Read String data 
-(NSString*)ReadString;//:(NSString*)str bufLength:(int)length;

// Read Data
-(void)ReadData:(NSString*)strData size:(int)size;

@end
